skills: remove working-notes pollution#38
Open
kveton wants to merge 1 commit into
Open
Conversation
Many skill files shipped with trailing editorial notes from a prior rewrite
process — sections like "Key changes from the original:" with bullets about
token reductions, structural changes, etc. A handful also contained leaked
LLM permission-prompt chatter ("Could you grant write permission..."). None
of this belongs in published skill content.
Truncated the trailing pollution block from 305 SKILL.md files in
skills/legal/. No legitimate skill content was touched — only the trailing
editorial/chatter section after the last real content section. Verified
with grep that all known pollution patterns are now gone.
Judicial ReviewThurgood encountered an error during review. Error ID: Comment |
Oppenheimer Cleanup ReviewOppenheimer encountered an error during review. Error ID: Comment |
Skill QA ReportSkills checked: 305 ✅ All structural and security checks passed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Many
skills/legal/SKILL.md files shipped with trailing editorial notes from a prior rewrite process — sections like**Key changes from the original:**with bullets describing token reductions, structural changes, etc. A handful also contained leaked LLM permission-prompt chatter ("Could you grant write permission so I can save the file?"). None of this belongs in published skill content.This PR truncates the trailing pollution block from 305 SKILL.md files. Only the trailing editorial/chatter section is removed — no legitimate skill content is touched.
The reference for what "clean" looks like is skills/legal/real-estate-transaction-summary/SKILL.md, which the user pointed to as the desired end state.
Detection
Pollution shapes encountered:
---separator →**Key changes from the original:**heading + bullets (most common)---separator → editorial heading without bold markers (e.g.Key changes from the original:)---separator →**Changes from original:**(no "Key")---separator → leaked LLM chatter ("It looks like I don't have write permission…")---separator` (4 files)Verification
After cleanup, the following greps return no hits across
skills/legal/:Key changes from (the )?original^(\*\*)?(Key changes|Key improvements|Changes from)~[0-9]+ lines → ~?[0-9]+ lines/cutting token costwrite permission|grant write|approve the file write|save the rewritten|copy the (content|output) aboveThe cleanup script is idempotent (a second run modifies nothing).
Test plan
Files changed (305)
Click to expand
🤖 Generated with Claude Code